# 配置 autogenstudio 使用 openai
import autogenstudio as ags
import openai

# 设置 OpenAI API 密钥
openai.api_key = 'your_openai_api_key'

# 启动 autogenstudio ui
ags.ui.run(port=8080, app_dir='./myapp', openai_api_key=openai.api_key)